package com.frog.framework.dynamo;

import software.amazon.awssdk.enhanced.dynamodb.mapper.annotations.DynamoDbAttribute;
import software.amazon.awssdk.enhanced.dynamodb.mapper.annotations.DynamoDbBean;
import software.amazon.awssdk.enhanced.dynamodb.mapper.annotations.DynamoDbPartitionKey;

import java.io.Serializable;

/**
 * @author wuqiong 2022/7/21
 * @description
 */
@DynamoDbBean
public class UserDynamicMessage_Test implements Serializable {
    private static final long serialVersionUID = 917691518932487334L;

    private String id; //userId
    private String userDynamicMessagesJSON;

    @DynamoDbPartitionKey
    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    @DynamoDbAttribute(value = "userDynamicMessages")
    public String getUserDynamicMessagesJSON() {
        return userDynamicMessagesJSON;
    }

    public void setUserDynamicMessagesJSON(String userDynamicMessagesJSON) {
        this.userDynamicMessagesJSON = userDynamicMessagesJSON;
    }
}
